#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, WBNavBarType) {
    WBNavBarTypeNormal,
    WBNavBarTypeRoot,
    WBNavBarTypeOnlyLeftTitle,
    WBNavBarTypeIconSearch,
    WBNavBarTypeTileSubTileBack,
    WBNavBarTypeLRTileSubTileBack,
    WBNavBarTypeOnlySearch,
    WBNavBarTypeSearchBack,
    WBNavBarTypeSearchAll,
};
@interface CTNavbar : UIView
- (instancetype)initWithType:(WBNavBarType)type;
@property (nonatomic ,strong, readonly) UILabel *var_titleLabel;
@property (nonatomic ,copy) NSString *var_placeHolder;
@property (nonatomic ,strong) UIView *var_backBtn;
@property (nonatomic ,strong) UIButton *var_leftSearchBtn;
@property (nonatomic ,strong) UIButton *var_rightBtn;
@property (nonatomic ,strong) UIButton *var_rightSecondBtn;
@property (nonatomic ,copy) NSString *var_title;
@property (nonatomic ,copy) NSString *var_subTitle;
@property (nonatomic ,strong) UITextField *var_textField;
@property(nonatomic, copy) void(^var_searchTextBlock)(NSString *string);
@property (nonatomic ,strong) RACSubject *var_didClickRithtSubject;
@property (nonatomic ,strong) RACSubject *var_didClickSearchSubject;
@property (nonatomic ,strong) RACSubject *var_didClickBackSubject;
@property (nonatomic ,strong) RACSubject *var_didClickSwichSubject;
- (void)ct_setBackIcon:(UIImage *)icon;
- (void)ct_setupTransparent;
- (void)ct_setupAlpha:(CGFloat)alpha;
- (void)ct_setTitleVisible;
- (void)ct_setTitleHidden;
- (void)ct_setIocnImage:(NSString *)imageNmae;
- (void)ct_setSearchBlackIocn;
- (void)ct_setRightImg:(UIImage *)image;
- (void)ct_setRightSecondImg:(UIImage *)image;
- (void)ct_adjustCenterTitle;
- (void)ct_showAndUpdateLeftSearchBtWithName:(NSString *)name;
@end
NS_ASSUME_NONNULL_END
